$Type = pop3.GetAttachmentType()
This function is used to get the type of the last fetched attachment.
Return Value
Function returns a string.